import { baseUrl } from './baseUrl';
import request from '@/utils/request';

export async function accountLogin(params) {
  return request(`${baseUrl}/User/Login`, {
    method: 'POST',
    data: params,
  });
}

export async function queryCurrent(params) {
  return request(`${baseUrl}/User/GetCurrent`, {
    method: 'POST',
    data: params,
  });
}
